import sys
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *

class MyWindow(QWidget):
    def __init__(self):
        super(MyWindow, self).__init__()
        self.setWindowTitle('imgRadio')

        aoi=QRadioButton(QPixmap('../head/1.png'))
        aoi.setPixmap(QPixmap('../head/1.png'))
    ## 放弃这种操作


        lay=QHBoxLayout()
        lay.addWidget(aoi)
        self.setLayout(lay)



if __name__ == '__main__':
    app = QApplication(sys.argv)
    myshow = MyWindow()
    myshow.show()
    sys.exit(app.exec_())
